<%@ page contentType="text/html;charset=UTF-8" language="java"  isELIgnored="false" %>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>旅游线路分类 - 探索世界</title>
    <style>
        :root {
            --primary-color: #2d8cf0;
            --secondary-color: #19be6b;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: "Helvetica Neue", Arial, sans-serif;
        }

        /* 顶部导航 */
        .header {
            background: #fff;
            padding: 1rem 5%;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            font-size: 1.8rem;
            color: var(--primary-color);
            font-weight: bold;
        }

        /* 筛选条件 */
        .filters {
            background: #f8f9fa;
            padding: 1.5rem 5%;
        }

        .filter-group {
            display: flex;
            gap: 1.5rem;
            flex-wrap: wrap;
        }

        .filter-btn {
            padding: 0.6rem 1.2rem;
            border-radius: 20px;
            border: 1px solid #ddd;
            background: #fff;
            cursor: pointer;
            transition: all 0.3s;
        }

        .filter-btn.active {
            background: var(--primary-color);
            color: white;
            border-color: var(--primary-color);
        }

        /* 线路分类网格 */
        .tour-grid {
            max-width: 1200px;
            margin: 2rem auto;
            padding: 0 5%;
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 2rem;
        }

        .tour-card {
            background: #fff;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 3px 10px rgba(0,0,0,0.1);
            transition: transform 0.3s;
        }

        .tour-card:hover {
            transform: translateY(-5px);
        }

        .tour-image {
            height: 200px;
            background: #ddd;
            position: relative;
        }

        .tour-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .tour-tag {
            position: absolute;
            top: 1rem;
            left: 1rem;
            background: var(--secondary-color);
            color: white;
            padding: 0.3rem 0.8rem;
            border-radius: 4px;
            font-size: 0.9rem;
        }

        .tour-info {
            padding: 1.5rem;
        }

        .tour-title {
            font-size: 1.2rem;
            margin-bottom: 0.5rem;
            color: #333;
        }

        .tour-meta {
            display: flex;
            justify-content: space-between;
            color: #666;
            font-size: 0.9rem;
            margin-bottom: 1rem;
        }

        .tour-price {
            color: var(--primary-color);
            font-size: 1.4rem;
            font-weight: bold;
        }

        /* 特色分类 */
        .featured-section {
            margin: 3rem 5%;
        }

        .category-banner {
            display: grid;
            grid-template-columns: 2fr 1fr;
            gap: 2rem;
            background: linear-gradient(135deg, #2d8cf0 0%, #5cadff 100%);
            color: white;
            padding: 2rem;
            border-radius: 12px;
        }

        /* 响应式设计 */
        @media (max-width: 768px) {
            .tour-grid {
                grid-template-columns: 1fr;
            }

            .category-banner {
                grid-template-columns: 1fr;
            }

            .filter-group {
                gap: 0.8rem;
            }
        }
    </style>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css">
</head>
<body>
<!-- 顶部导航 -->
<header class="header">
    <div class="logo">TravelGo</div>
    <nav>
        <a href="#"><i class="fas fa-compass"></i> 线路分类</a>
        <a href="#"><i class="fas fa-search"></i> 高级搜索</a>
    </nav>
</header>

<!-- 筛选条件 -->
<section class="filters">
    <div class="filter-group">
        <button class="filter-btn active">全部</button>
        <button class="filter-btn">国内游</button>
        <button class="filter-btn">出境游</button>
        <button class="filter-btn">自由行</button>
        <button class="filter-btn">跟团游</button>
        <button class="filter-btn">亲子游</button>
    </div>
</section>

<!-- 线路分类网格 -->
<main class="tour-grid">
    <!-- 线路卡片示例 -->
    <article class="tour-card">
        <div class="tour-image">
            <img src="placeholder.jpg" alt="西藏朝圣之旅">
            <span class="tour-tag">精品小团</span>
        </div>
        <div class="tour-info">
            <h3 class="tour-title">西藏朝圣8日游</h3>
            <div class="tour-meta">
                <span><i class="fas fa-clock"></i> 8天7晚</span>
                <span><i class="fas fa-user-friends"></i> 4-12人</span>
            </div>
            <div class="tour-price">¥3680起</div>
        </div>
    </article>

    <!-- 更多线路卡片... -->
</main>

<!-- 特色分类 -->
<section class="featured-section">
    <div class="category-banner">
        <div>
            <h2>主题旅游</h2>
            <p>精选特色主题线路，发现旅行新方式</p>
            <ul>
                <li>摄影采风之旅</li>
                <li>美食文化体验</li>
                <li>户外徒步探险</li>
            </ul>
        </div>
        <div>
            <h3>当季热门</h3>
            <ul>
                <li>东南亚海岛游</li>
                <li>日本樱花季</li>
                <li>北欧极光之旅</li>
            </ul>
        </div>
    </div>
</section>
</body>
</html>